package com.buba.manifest.service.impl;

import com.buba.manifest.dao.OrderFormMapper;
import com.buba.manifest.pojo.OrderForm;
import com.buba.manifest.service.OrderFormService;
import com.buba.matter.pojo.Info;
import com.buba.system.pojo.Page;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class OrderFormServiceImpl implements OrderFormService {
    private OrderFormMapper orderFormMapper;
    @Override
    public Long selOrderFormCount() {
        return orderFormMapper.selOrderFormCount();
    }

    @Override
    public List<OrderForm> selOrderFormTable(Page<OrderForm> page) {
        return orderFormMapper.selOrderFormTable(page);
    }

    @Override
    public Integer delOrderFormAll(List<String> list) {
        return orderFormMapper.delOrderFormAll(list);
    }

    @Override
    public Integer addOrderForm(Map<String, Object> map) {
        return orderFormMapper.addOrderForm(map);
    }

    @Override
    public Integer updOrderForm(Map<String, Object> map) {
        return orderFormMapper.updOrderForm(map);
    }

    @Override
    public Integer batchNoPass(List<String> list) {
        return orderFormMapper.batchNoPass(list);
    }

    @Override
    public Integer batchPass(List<String> list) {
        return orderFormMapper.batchPass(list);
    }

    @Override
    public Long pass(Map<String, Object> map) {
        return orderFormMapper.pass(map);
    }

    @Override
    public Long noPass(Map<String, Object> map) {
        return orderFormMapper.noPass(map);
    }

    @Override
    public Long selOrderFormCountForTreasurer(Map<String, Object> map) {
        return orderFormMapper.selOrderFormCountForTreasurer(map);
    }

    @Override
    public List<OrderForm> selOrderFormForTreasurer(Map<String, Object> map) {
        return orderFormMapper.selOrderFormForTreasurer(map);
    }

    @Override
    public Long selCount(Map<String, Object> map) {
        return orderFormMapper.selCount(map);
    }

    @Override
    public List<OrderForm> selAllOrderForm(Map<String, Object> map) {
        return orderFormMapper.selAllOrderForm(map);
    }

    @Override
    public Integer delOrderFormById(List<String> list) {
        return orderFormMapper.delOrderFormById(list);
    }


    @Autowired
    public void setOrderFormMapper(OrderFormMapper orderFormMapper) {
        this.orderFormMapper = orderFormMapper;
    }
}
